/**
 * Project		: anveshitha
 * Filename		: anveshitha.config.AnveshithaConstantsTest.java
 * Author		: varun
 * Date			: Jun 12, 2008, 9:49:50 PM
 * Description	: To test the constants file
 * License		: GNU LESSER GENERAL PUBLIC LICENSE (http://www.gnu.org/licenses/lgpl-3.0.txt)
 */
package anveshitha.config;

import java.io.IOException;
import java.util.Arrays;

import junit.framework.TestCase;
import nu.xom.ParsingException;
import nu.xom.ValidityException;

/**
 * @author varun
 */
public class AnveshithaConstantsTest extends TestCase {
	

	/* (non-Javadoc)
	 * @see junit.framework.TestCase#setUp()
	 */
	protected void setUp() throws Exception {
		super.setUp();
	}

	/**
	 * Test method for {@link anveshitha.config.AnveshithaConstants#loadConfigData()}.
	 * @throws Exception 
	 */
	public void testLoadConfigData() throws Exception {
		
		//test
		AnveshithaConstants.loadConfigData("");
		
		//verify
		assertNotNull(AnveshithaConstants.LUCENE_INDEX_DIR);
		System.out.println(AnveshithaConstants.LUCENE_INDEX_DIR);
		assertNotNull(AnveshithaConstants.JAVA_STOP_WORDS);
		System.out.println(Arrays.toString(AnveshithaConstants.JAVA_STOP_WORDS));
		assertNotNull(AnveshithaConstants.JAVA_SRC_DIRS);
		System.out.println(Arrays.toString(AnveshithaConstants.JAVA_SRC_DIRS));
		
	}

}
